/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.java.service;

import com.java.dao.TacgiaDAO;
import com.java.mapbean.Tacgia;
import java.util.List;

/**
 *
 * @author quannq
 */
public class TacGiaService extends TacgiaDAO {

    public List<Tacgia> getAll() {
        return findAll();
    }

    public Tacgia findId(int id) {
        return findById(id);
    }

    public void saveSach(Tacgia tacgia) {
        save(tacgia);
    }

    public void updateTacgia(Tacgia tacgia) {
        update(tacgia);
    }
}
